package com.itheima.demo02;

import java.io.File;

public class FileClass01 {
    public static void main(String[] args) {
        File file1 = new File("F:\\idea project\\javase_advance\\day11\\aaa\\a.txt");
        System.out.println(file1);
        System.out.println("----------------------------");
        File file2 = new File("F:\\idea project\\javase_advance\\day11\\aaa","a.txt");
        System.out.println(file2);
        System.out.println("----------------------------");
        File f = new File("F:\\idea project\\javase_advance\\day11\\aaa");
        File file3 = new File(f,"a.txt");
        System.out.println(file3);
        System.out.println("----------------------------");
        File file4 = new File("day11\\a.txt");
        System.out.println(file4);
    }
}
